package com.naberius;

import java.io.Serializable;
import java.util.ArrayList;

public class Player implements Serializable {
	
	private static final long serialVersionUID = -7246901890924451275L;

	class Category {
		public short WEAPON = 0;
		public short ARMOR = 1;
		public short POTION = 2;
	}
	

	
	class Weapon  extends AItem{
		
		public void Attack(){
			
		}
		public void Defend() {
			
		}
	}


	private String mName;
	private Weapon mWeapon;
	private ArrayList<Inventory> mInventory = null;
	
	public Player( ) {
		
		mName = "Maximus";
		
	}
	
	public void AddInventory(Inventory inInventory){
		if(null == mInventory ){
			mInventory = new ArrayList<Inventory>();
		}
		
		mInventory.add(inInventory);
		
	}
	
	public void AddWeapon(Weapon inWeapon) {
		
		mWeapon = inWeapon;
		
	}
}

